<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="false" %>

<!-- 콘텐츠 영역 -->
    <div id="BodyWrap">
        <section>
            <h4 class="pag_title" title="주문/결제 완료">주문/결제 완료</h4>
            <div id="ContentWrap4">
            	<div class="ordernum">주문이 정상적으로 완료되었습니다.
                	<p class="ord_sm">주문내역은 문자 또는 이메일로 발송해 드립니다.</p>
                </div>
            	<ul class="showwindow_list4">
                	<li>
                    	<a href="#" class="thumb">
                            <img src="http://www.vhmall.co.kr/inc/imgLoad.jsp?dirName=product/${orderCompleteList.CORPNO}/&fileName=${orderCompleteList.PRDIMG}&thumb=Y&quality=100&size=230" alt="">
                        </a>
                        <div class="windowinfo_area">
                        	<a href="#" class="title">${orderCompleteList.LGD_PRODUCTINFO}</a>
                            <p class="price">
                                <!-- <span class="discount"><em>45,000</em>원</span> -->
                                ${orderCompleteList.LGD_AMOUNT}원
                            </p>
                        </div>
                    </li>
                </ul>
                <section>
                	<h5 class="hidtext" title="주문결제완료 확인">주문결제완료 확인</h5>
                    <div class="item_buytitarea" title="결제정보">결제정보</div>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="item_callist" summary="결제금액 산출내역">
                    	<colgroup>
                        <col style="width:33%">
                        <col style="width:67%">
                        </colgroup>
                        <tr>
                        	<th>주문금액</th>
                            <td><span class="dinmed">${orderCompleteList.LGD_AMOUNT}</span>원</td>
                        </tr>
                        <tr>
                        	<th>할인금액</th>
                            <td><span class="dinmed">0</span>원</td>
                        </tr>
                        <tr>
                        	<th>배송비</th>
                            <td><span class="dinmed">0</span>원</td>
                        </tr>
                        <tr>
                        	<th class="ftc_red">총 결제금액</th>
                            <td><span class="dinmed credit_price">${orderCompleteList.LGD_AMOUNT}</span>원</td>
                        </tr>
                    </table>
                    <div class="item_buytitarea" title="구매자 정보">구매자 정보</div>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="item_callist" summary="구매자 정보내역">
                    	<colgroup>
                        <col style="width:33%">
                        <col style="width:67%">
                        </colgroup>
                        <tr>
                        	<th>이름</th>
                            <td class="ta_l">${orderCompleteList.LGD_BUYER}</td>
                        </tr>
                        <tr>
                        	<th>휴대폰</th>
                            <td class="ta_l">${orderCompleteList.LGD_BUYERPHONE}</td>
                        </tr>
                        <tr>
                        	<th>이메일</th>
                            <td class="ta_l">${orderCompleteList.LGD_BUYEREMAIL}</td>
                        </tr>
                    </table>
                    <div class="item_buytitarea" title="받는사람 정보">받는사람 정보</div>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="item_callist" summary="받는사람 정보내역">
                    	<colgroup>
                        <col style="width:33%">
                        <col style="width:67%">
                        </colgroup>
                        <tr>
                        	<th>이름</th>
                            <td class="ta_l">${orderCompleteList.LGD_RECEIVER}</td>
                        </tr>
                        <tr>
                        	<th>휴대폰</th>
                            <td class="ta_l">${orderCompleteList.LGD_RECEIVERPHONE}</td>
                        </tr>
                        <tr>
                        	<th>주소</th>
                            <td class="ta_l">${orderCompleteList.LGD_DELIVERYINFO}</td>
                        </tr>
                        <tr>
                        	<th>배송메시지</th>
                            <td class="ta_l">${orderCompleteList.LGD_RESPMSG}</td>
                        </tr>
                    </table>
                    <div class="item_buytitarea" title="결제정보">결제정보</div>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="item_callist" summary="결제 정보내역">
                    	<colgroup>
                        <col style="width:33%">
                        <col style="width:67%">
                        </colgroup>
                        <tr>
                        	<th>총 결제금액</th>
                            <td class="ta_l">${orderCompleteList.LGD_AMOUNT}원</td>
                        </tr>
                        <tr>
                        	<th>결제방법</th>
                            <td class="ta_l">
                            <c:choose>
                            	<c:when test="${ orderCompleteList.LGD_PAYTYPE == 'SC0010' }">신용카드</c:when>
                            	<c:when test="${ orderCompleteList.LGD_PAYTYPE == 'SC0040' }">무통장입금</c:when>
                            	<c:when test="${ orderCompleteList.LGD_PAYTYPE == 'SC0060' }">휴대폰</c:when>
                            </c:choose>
                            </td>
                        </tr>
                        <c:choose>
                        	<c:when test="${ orderCompleteList.LGD_PAYTYPE == 'SC0040' }">
                        <tr>
                        	<th>입금은행</th>
                            <td class="ta_l">${orderCompleteList.LGD_FINANCENAME} ${orderCompleteList.LGD_ACCOUNTNUM}<br>
                            	(예금주:${orderCompleteList.LGD_SAOWNER})
                            </td>
                        </tr>
                        <tr>
                        	<th>입금자</th>
                            <td class="ta_l">${orderCompleteList.LGD_PAYER}</td>
                        </tr>
                        <tr>
                        	<th>입금기한</th>
                            <td class="ta_l">${orderCompleteList.EMPTYCLOSEDT}<br>
                            	(해당기간내에 미입금시 결제가 자동으로 취소됩니다.)
                            </td>
                        </tr>
                        	</c:when>
                        </c:choose>
                    </table>
                    <div class="btnposition_itembuy">
                        <div class="btnwline3">
                            <a href="/vhmall/main.vh" class="home" title="홈으로">홈으로</a>
                            <a href="#" class="delivery" title="배송조회">배송조회</a>
                            <a href="/vhmall/main.vh" title="결제완료">결제완료</a>
                        </div>
                    </div>
                </section>
            </div>
        </section>
        <!--// 콘텐츠 영역 -->